import urllib.request
import urllib.parse

# response = urllib.request.urlopen('http://www.jci.edu.cn')
# print(response.status)
# print(response.getheaders())
# print(response.getheaders('Server'))

data = bytes(urllib.parse.urlencode({'word': 'hello'}), encoding='utf-8')
response = urllib.request.urlopen('http://httpbin.org/post', data=data)
print(response.read())